A thread dump contains information about what the application is doing at a particular point in time and how the application arrived in that state. For certain kinds of problems, a thread dump is the most important information to attach to a problem report. Examples of problems for which thread dumps are very useful are situations of hangings or slow performance and when unexpected dialogs appear.

Here are instructions on how to obtain a thread dump on Windows and Linux. Note that steps 1 and 2 must be done before starting RSARTE.

Windows

  1. Ensure that your eclipse.ini file does not contain the -Xnolinenumbers flag. If you find it, it should be removed to make the thread dump usable.
  2. Start RSARTE with Administrator privileges.
  3. To take a thread dump, use the Windows Task Manager to find out the PID of the Eclipse process that you want to get a thread dump for. The PID column is by default not visible in the Task Manager, so you have to turn it on explicitly in Windows 7. On Windows 10 you can see it in the Details tab.
  4. Start a command line console with Administrator privileges. The easiest way to do this is to type 'cmd' in the Windows menu Search field and then press Ctrl+Shift+Enter.
  5. Run the command SendSignal.exe <pid> from the command line console. The SendSignal.exe executable can be downloaded from here.
  6. Go to the Eclipse installation directory and look for a file that starts with "javacore". This is the thread dump file.

Linux

  1. Ensure that your eclipse.ini file does not contain the -Xnolinenumbers flag. If you find it, it should be removed to make the thread dump usable.
  2. Start RSARTE from command line with a current working directory with write privileges, for example, your home directory.
  3. Find out the PID of the Eclipse process, for example, using the ps command.
  4. Do 'kill -3 <PID>' from the command line. The JVM reports a path to the generated thread dump file.

For more information (including alternative procedures and other platforms), see http://wiki.eclipse.org/How_to_report_a_deadlock.